/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.mailaddr;

import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * 邮件列表Entity
 * @author 丁光彪
 * @version 2017-01-10
 */
public class MailAddr extends DataEntity<MailAddr> {
	
	private static final long serialVersionUID = 1L;
	protected String addr;		// 邮件地址
	
	public MailAddr() {
		super();
	}

	public MailAddr(String id){
		super(id);
	}

	@Length(min=0, max=255, message="邮件地址长度必须介于 0 和 255 之间")
	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}
	
}